projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6fd904
)
(imenu--mouse-menu): Pass proper arg to x-popup-menu.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 9 Mar 1996 00:32:05 +0000
(
00:32
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 9 Mar 1996 00:32:05 +0000
(
00:32
+0000)
lisp/imenu.el
patch
|
blob
|
history
diff --git
a/lisp/imenu.el
b/lisp/imenu.el
index a8d9d1567d846702ffa960252204dcfba82f2a6e..633c65afaf81171951c3d7d5135007a667366539 100644
(file)
--- a/
lisp/imenu.el
+++ b/
lisp/imenu.el
@@
-713,6
+713,9
@@
Returns t for rescan and otherwise a position number."
(if (< 1 (length (cdr menu)))
(cdr menu)
(cdr (cadr menu))))))
+
+ (or imenu-use-keymap-menu
+ (setq menu (list "Imenu" (delq nil menu))))
(setq position (x-popup-menu event menu))
(if imenu-use-keymap-menu
(progn